package com.example.fronttest;

import android.os.Bundle;
import android.app.Activity;
import android.content.res.AssetManager;
import android.graphics.Typeface;
import android.view.Menu;
import android.widget.TextView;

public class MainActivity extends Activity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);
        
        TextView textView= (TextView) findViewById(R.id.text);
        AssetManager assets = getAssets();
        Typeface fromAsset = Typeface.createFromAsset(assets, "fonts/Himalaya-e.ttf");
        textView.setTypeface(fromAsset);
        
        
        TextView textView2= (TextView) findViewById(R.id.text2);

        Typeface fromAsset2 = Typeface.createFromAsset(assets, "fonts/himalaya.ttf");
        textView2.setTypeface(fromAsset2);
    }


    @Override
    public boolean onCreateOptionsMenu(Menu menu) {
        // Inflate the menu; this adds items to the action bar if it is present.
        getMenuInflater().inflate(R.menu.main, menu);
        return true;
    }
    
}
